﻿using System;

class CompareFloatingPointNumbers
{
    static void Main()
    {
        float firstValue = float.Parse(Console.ReadLine());
        float secondValue = float.Parse(Console.ReadLine());
        bool areEqual = (firstValue == secondValue);
        Console.WriteLine(areEqual);        
    }
}